package com.bupt.liutong.admin.groupon.dto;

import java.util.Date;

import com.bupt.liutong.admin.groupon.quartz.GetGrouponInfo;

public class Website {

	private Integer id;
	private String cityApi;
	private String grouponApi;
	private GetGrouponInfo handler;
	/**
	 * 对应groupon里的createTime
	 */
	private Date batchTime;

	public Website(Integer id, String grouponApi, GetGrouponInfo handler) {
		this.id = id;
		this.grouponApi = grouponApi;
		this.handler = handler;
	}

	public Website(Integer id, String cityApi, String grouponApi, GetGrouponInfo handler) {
		this.id = id;
		this.cityApi = cityApi;
		this.grouponApi = grouponApi;
		this.handler = handler;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getCityApi() {
		return cityApi;
	}

	public String getGrouponApi() {
		return grouponApi;
	}

	public GetGrouponInfo getHandler() {
		return handler;
	}

	public Date getBatchTime() {
		return batchTime;
	}

	public void setBatchTime(Date batchTime) {
		this.batchTime = batchTime;
	}
	
}
